-- GENERATED SPELL FOR [Lumbering Atrocity] --


function spell0_31226(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31226', 659, 1)
end

function Sorts_31226(pUnit, Event)
local choix_sorts_31226 = math.random(0, 0)
if choix_sorts_31226 == 0 then
pUnit:RegisterEvent('spell0_31226', 1, 1)
end
end

function mob31226_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31226', math.random(1500, 3000), 1)
end

function mob31226_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31226_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31226_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31226, 1, 'mob31226_Action')
RegisterUnitEvent(31226, 2, 'mob31226_Leave')
RegisterUnitEvent(31226, 3, 'mob31226_Kill')
RegisterUnitEvent(31226, 4, 'mob31226_Die')
